package lab04.test02;

/**
 * Created by JAVA on 2017/12/22.
 */
public class Thread01 implements Runnable{

        @Override
        public void run() {
            while(true){
                try  {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                System.out.println("hello,world ");

                try {
                    Thread.sleep(2000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                System.out.println("1234567890");
            }

        }

    }
